<?php
$logo_image=$base_url.'/g-konten/fm/logo.png';
$logo_icon=$base_url.'/g-konten/fm/icon.png';
$ambil_menu= "g-konten/data/menu.php";

if ($_GET['h']<>'' and $_GET['p']==''){
$colname_get_data_h = "-1";
if (isset($_GET['h'])) {
  $colname_get_data_h = $_GET['h'];
}
mysql_select_db($database_konek, $konek);
$query_get_data_h = sprintf("SELECT * FROM menu WHERE id = %s", GetSQLValueString($colname_get_data_h, "int"));
$get_data_h = mysql_query($query_get_data_h, $konek) or die(mysql_error());
$row_get_data_h = mysql_fetch_assoc($get_data_h);
$totalRows_get_data_h = mysql_num_rows($get_data_h);

$judul=$row_get_data_h['judul_m'];
$deskrip=$row_get_data_h['desk_m'];
$tipe_layoutnya=$row_get_data_h['tipe_layout'];
$ambil_konten="g-konten/data/konten.php";
$ambil_layout="g-template/".$row_datanya_admin['template']."/config/page/layout".$row_get_data_h['tipe_layout'].".php";



mysql_free_result($get_data_h);
} else {
if(file_exists("g-konten/plugin/".$_GET['p']."/other/".$_GET['link'].".php")) {
$tipe_layoutnya='pl';
$ambil_plug="g-konten/data/konten.php";
$ambil_konten="g-konten/plugin/".$_GET['p']."/other/".$_GET['link'].".php";
$ambil_layout="g-template/".$row_datanya_admin['template']."/config/page/defaultplug.php";
include "g-konten/plugin/".$_GET['p']."/other/setup.php";
}
else { 
$judul='Page Not Found ';
$deskrip='Page Not Found ';
$ambil_layout="g-konten/data/eror.php";
}
}
?>